package com.zhang.mapper;

import com.zhang.pojo.Department;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.Collection;

/**
 * @author zhangshihao
 * @create 2023-03-03 11:50
 */
@Mapper
@Repository
public interface DepartmentMapper {
    Collection<Department> getDepartments();

    Department getDepartmentById(Integer id);
}
